package com.ihr360.authority.sharing.model.vo;

import com.ihr360.commons.model.type.AccessPrivilege;
import com.ihr360.commons.model.type.ResourcePublicity;

import java.io.Serializable;

public class SimpleAuthUserResourceVo implements Serializable {

    private static final long serialVersionUID = 1170627729277883073L;

    private Long id;

    /**
     * 功能模块
     */
    private String bizModel;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 对应资源Id
     */
    private String resourceId;

    /**
     * 冗余信息
     */
    private String userAccount;

    /**
     * 冗余信息 用户账号
     */
    private String userName;

    private AccessPrivilege privilege;

    private ResourcePublicity publicity;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBizModel() {
        return bizModel;
    }

    public void setBizModel(String bizModel) {
        this.bizModel = bizModel;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public AccessPrivilege getPrivilege() {
        return privilege;
    }

    public void setPrivilege(AccessPrivilege privilege) {
        this.privilege = privilege;
    }

    public ResourcePublicity getPublicity() {
        return publicity;
    }

    public void setPublicity(ResourcePublicity publicity) {
        this.publicity = publicity;
    }
}